package com.yidu.hbats.service.TrainingPlan;/**
 * @类的描述——
 * @author 朱星润
 * @versing 1.0 2019/10/30
 */

import com.yidu.hbats.action.vo.AtsPlanCurriculumvo;
import com.yidu.hbats.model.AtsPlanCurriculum;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author 朱星润
 * @类的描述——课计划
 * @date 2019/10/30下午 02:19
 */
public interface AtsPlanCurriculumService {


    /**
     * 修改是否有效
     *
     * @param atsPlanCurriculum
     * @return
     */
    int updateIsva(AtsPlanCurriculum atsPlanCurriculum);
    int delAll(String id);
    /**
     * 分页
     *
     * @return
     */
    int count(HttpServletRequest request, AtsPlanCurriculum atsPlanCurriculum);

    /**
     * id查询
     * @param curriculumId
     * @return
     */
    AtsPlanCurriculum findById(Integer curriculumId);
    /**
     * 分页查询所有
     *
     * @return
     */
    List<AtsPlanCurriculum> selectAll(HttpServletRequest request, AtsPlanCurriculum atsPlanCurriculum, Integer pageNum, Integer pageSize);
    /**
     *
     * @mbg.generated 2019-10-29
     */
    void insertSelective(AtsPlanCurriculumvo record);

    void updateIsva(AtsPlanCurriculumvo record);
    AtsPlanCurriculum findByIdTwo(Integer curriculumId);
    AtsPlanCurriculum findMaxPid(int coachId);
}
